<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>login</title>
    <link href="css/login.css" rel="stylesheet">
</head>

<body>

<div id="loginDiv">
    <!--action表示表单提交时跳转的地址-->
    <form action="/javaweb07/loginServlet" method="post" id="form">
        <h1 id="loginMsg">欢迎登录</h1>
        <p>用户名:<input id="username" name="username" type="text"></p>

        <p>密&nbsp;&nbsp;&nbsp;码:<input id="password" name="password" type="password"></p>

        <div id="subDiv">
            <input type="submit" class="button" value="登录">
            <input type="reset" class="button" value="重置">&nbsp;&nbsp;&nbsp;
            <a href="register.html">没有账号？点击注册</a>
        </div>
    </form>
</div>

</body>
</html>
